package com.appbee.core.client.upload;

import com.google.gwt.core.client.JavaScriptObject;

public class FileError extends JavaScriptObject
{
	// File error codes
	// Found in DOMException
	public static final int NOT_FOUND_ERR = 1;
	public static final int SECURITY_ERR = 2;
	public static final int ABORT_ERR = 3;
	   
	// Added by this specification
	public static final int NOT_READABLE_ERR = 4;
	public static final int ENCODING_ERR = 5;	
	
	protected FileError(){}
	
	public final native int getCode() /*-{
		return this.code;
	}-*/;

}
